import service from '@/utils/request'
// eslint-disable-next-line no-unused-vars
const { httpPostForm, httpPost, httpGet } = service

const request = {
    //新增集采汇总
    AddPurchaseCollect (params) {
        return httpPost({
            url: '/material/centralizedPurchaseSummary/create',
            params
        })
    },
    // 根据实体属性分页查询集采汇总
    purchaseCollectList (params) {
        return httpPost({
            url: '/material/centralizedPurchaseSummary/listByEntity',
            params
        })
    },
    //修改集采汇总基本信息
    EditPurchaseCollectBasic (params) {
        return httpPost({
            url: '/material/centralizedPurchaseSummary/update',
            params
        })
    },
    //更新申报机构明细及物资明细信息
    updateOrgDetails (params) {
        return httpPost({
            url: '/material/centralizedPurchaseSummary/updateReportingAgencyLsit',
            params
        })
    },
    //根据总计划billid集合获取总计划明细集合
    getListByIds (params) {
        return httpPost({
            url: '/material/masterPlan/getListByIds',
            params
        })
    },
    //修改物资设置明细信息
    updateSettingList (params) {
        return httpPost({
            url: '/material/centralizedPurchaseSummary/updateSettingList',
            params
        })
    },
}

export default request